
<div id="message" style="position:relative;">  

<?php if(isset($result) && $result == false) { //If email is sent ?>
<div class="errormsg">
Please check if you've filled all the fields with valid information and try again. </div>
<?php } ?>

</div>



<form id="contactform" class="row"  name="contactform" method="post">
<div class="form-group col-lg-4 col-12 ">
<input type="text" name="name" id="name" value="" class="form-control required form-control-danger" role="input" aria-required="true" placeholder="贵姓" />
</div>

<div class="form-group col-lg-4 col-12">
<input type="text" name="email" id="email" value="" class="form-control required email" role="input" aria-required="true" placeholder="邮件" />
</div>         

<div class="form-group col-lg-4 col-12">
<input type="text" name="phone" id="phone" value="" class="form-control required intlphone" role="input" aria-required="true" placeholder="电话" />
</div>         

<div class="form-group col-12">
<input type="text" name="subject" id="subject" value="" class="form-control required" role="input" aria-required="true" placeholder="主题" />
</div>



<div class="form-group col-12">
<textarea rows="8" name="comments" id="comments" class="form-control required" role="textbox" aria-required="true" placeholder="信息"></textarea>
</div>  



<div class="actions col-12">
<input type="submit" value="发送" name="submit" id="submitButton" class="btn btnsend" title="Click here to submit your message!" />
</div>             

</form> 

